package cn.gok.demo.base.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author: zhengyx
 * @Date: 2022/7/26 15:20
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class BaseEntity {

    protected Integer id;
    protected String createName;
    protected String updateName;
    protected Date createTime;
    protected Date updateTime;

    protected Integer version;
    protected Integer delted;

}
